﻿using IrisMembership.DomainClasses;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IrisMembership.ServiceLayer
{
    public interface IPermissionService
    {
        bool CanAccess(int userId, string controllerName, string actionName, string areaName);
        IList<Permission> GetRolePermissions(int roleId);
    }
}
